home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_02_07 / 2n07038a < prev    next >
Text File  |  1991-06-01  |  1KB  |  39 lines

  1. /*
  2.  *    Important variables and defines for the Animated Cursor demo program
  3.  */
  4.  
  5.  
  6. /*
  7.  * Make the instance and main window handles available to all
  8.  * procedures in all modules.
  9.  */
  10.  
  11. extern HANDLE hInst;
  12. extern HWND MainhWnd;
  13.  
  14.  
  15. /*
  16.  * Function prototypes
  17.  */
  18.  
  19. int PASCAL      WinMain(HANDLE,HANDLE,LPSTR,int);
  20. long FAR PASCAL MainWndProc(HWND,unsigned,WORD,LONG);
  21.  
  22. BOOL            CurRegisterClass(HANDLE);
  23. HWND            CurCreateWindow(HANDLE);
  24.     
  25. BOOL FAR PASCAL QuitFunc(HWND, unsigned , WORD, LONG);
  26. BOOL FAR PASCAL SetSpeed(HWND, unsigned , WORD, LONG);
  27. BOOL FAR PASCAL Animate(HWND, unsigned , WORD, LONG);
  28.  
  29. /*
  30.  * Defines for each of the menu id's
  31.  */
  32.  
  33. #define IDM_Animate                             4000
  34. #define IDM_Speed1                              4001
  35. #define IDM_Speed2                              4002
  36. #define IDM_Speed3                              4003
  37. #define IDM_Speed4                              4004
  38. #define IDM_Quit                                4005
  39.